package com.example.demo.entity;

import lombok.Data;

@Data
public class MyResult<E> {
    private Integer code;
    private String msg;
    private Integer count;
    private E data;

    public MyResult(Integer code,String msg,Integer count,E data){
        this.code=code;
        this.count=count;
        this.msg=msg;
        this.data=data;
    }
}
